3.61 \(\int \frac {(a+b \log (c x^n))^3}{x} \, dx\)

Optimal. Leaf size=22 \[ \frac {\left (a+b \log \left (c x^n\right )\right )^4}{4 b n} \]

[Out]

1/4*(a+b*ln(c*x^n))^4/b/n

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2302, 30} \[ \frac {\left (a+b \log \left (c x^n\right )\right )^4}{4 b n} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*x^n])^3/x,x]

[Out]

(a + b*Log[c*x^n])^4/(4*b*n)

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2302

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)/(x_), x_Symbol] :> Dist[1/(b*n), Subst[Int[x^p, x], x, a + b*L
og[c*x^n]], x] /; FreeQ[{a, b, c, n, p}, x]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c x^n\right )\right )^3}{x} \, dx &=\frac {\operatorname {Subst}\left (\int x^3 \, dx,x,a+b \log \left (c x^n\right )\right )}{b n}\\ &=\frac {\left (a+b \log \left (c x^n\right )\right )^4}{4 b n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 22, normalized size = 1.00 \[ \frac {\left (a+b \log \left (c x^n\right )\right )^4}{4 b n} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*x^n])^3/x,x]

[Out]

(a + b*Log[c*x^n])^4/(4*b*n)

________________________________________________________________________________________

fricas [B]  time = 0.44, size = 100, normalized size = 4.55 \[ \frac {1}{4} \, b^{3} n^{3} \log \relax (x)^{4} + {\left (b^{3} n^{2} \log \relax (c) + a b^{2} n^{2}\right )} \log \relax (x)^{3} + \frac {3}{2} \, {\left (b^{3} n \log \relax (c)^{2} + 2 \, a b^{2} n \log \relax (c) + a^{2} b n\right )} \log \relax (x)^{2} + {\left (b^{3} \log \relax (c)^{3} + 3 \, a b^{2} \log \relax (c)^{2} + 3 \, a^{2} b \log \relax (c) + a^{3}\right )} \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^3/x,x, algorithm="fricas")

[Out]

1/4*b^3*n^3*log(x)^4 + (b^3*n^2*log(c) + a*b^2*n^2)*log(x)^3 + 3/2*(b^3*n*log(c)^2 + 2*a*b^2*n*log(c) + a^2*b*
n)*log(x)^2 + (b^3*log(c)^3 + 3*a*b^2*log(c)^2 + 3*a^2*b*log(c) + a^3)*log(x)

________________________________________________________________________________________

giac [B]  time = 0.27, size = 114, normalized size = 5.18 \[ \frac {1}{4} \, b^{3} n^{3} \log \relax (x)^{4} + b^{3} n^{2} \log \relax (c) \log \relax (x)^{3} + \frac {3}{2} \, b^{3} n \log \relax (c)^{2} \log \relax (x)^{2} + a b^{2} n^{2} \log \relax (x)^{3} + b^{3} \log \relax (c)^{3} \log \relax (x) + 3 \, a b^{2} n \log \relax (c) \log \relax (x)^{2} + 3 \, a b^{2} \log \relax (c)^{2} \log \relax (x) + \frac {3}{2} \, a^{2} b n \log \relax (x)^{2} + 3 \, a^{2} b \log \relax (c) \log \relax (x) + a^{3} \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^3/x,x, algorithm="giac")

[Out]

1/4*b^3*n^3*log(x)^4 + b^3*n^2*log(c)*log(x)^3 + 3/2*b^3*n*log(c)^2*log(x)^2 + a*b^2*n^2*log(x)^3 + b^3*log(c)
^3*log(x) + 3*a*b^2*n*log(c)*log(x)^2 + 3*a*b^2*log(c)^2*log(x) + 3/2*a^2*b*n*log(x)^2 + 3*a^2*b*log(c)*log(x)
 + a^3*log(x)

________________________________________________________________________________________

maple [B]  time = 0.02, size = 75, normalized size = 3.41 \[ \frac {b^{3} \ln \left (c \,x^{n}\right )^{4}}{4 n}+\frac {a \,b^{2} \ln \left (c \,x^{n}\right )^{3}}{n}+\frac {3 a^{2} b \ln \left (c \,x^{n}\right )^{2}}{2 n}+\frac {a^{3} \ln \left (c \,x^{n}\right )}{n}+\frac {a^{4}}{4 b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*x^n))^3/x,x)

[Out]

1/4/n*b^3*ln(c*x^n)^4+1/n*b^2*ln(c*x^n)^3*a+3/2/n*b*ln(c*x^n)^2*a^2+1/n*ln(c*x^n)*a^3+1/4/n/b*a^4

________________________________________________________________________________________

maxima [A]  time = 0.56, size = 20, normalized size = 0.91 \[ \frac {{\left (b \log \left (c x^{n}\right ) + a\right )}^{4}}{4 \, b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*x^n))^3/x,x, algorithm="maxima")

[Out]

1/4*(b*log(c*x^n) + a)^4/(b*n)

________________________________________________________________________________________

mupad [B]  time = 3.37, size = 56, normalized size = 2.55 \[ a^3\,\ln \relax (x)+\frac {b^3\,{\ln \left (c\,x^n\right )}^4}{4\,n}+\frac {3\,a^2\,b\,{\ln \left (c\,x^n\right )}^2}{2\,n}+\frac {a\,b^2\,{\ln \left (c\,x^n\right )}^3}{n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*x^n))^3/x,x)

[Out]

a^3*log(x) + (b^3*log(c*x^n)^4)/(4*n) + (3*a^2*b*log(c*x^n)^2)/(2*n) + (a*b^2*log(c*x^n)^3)/n

________________________________________________________________________________________

sympy [B]  time = 28.94, size = 92, normalized size = 4.18 \[ \begin {cases} \frac {a^{3} \log {\left (c x^{n} \right )} + \frac {3 a^{2} b \log {\left (c x^{n} \right )}^{2}}{2} + a b^{2} \log {\left (c x^{n} \right )}^{3} + \frac {b^{3} \log {\left (c x^{n} \right )}^{4}}{4}}{n} & \text {for}\: n \neq 0 \\\left (a^{3} + 3 a^{2} b \log {\relax (c )} + 3 a b^{2} \log {\relax (c )}^{2} + b^{3} \log {\relax (c )}^{3}\right ) \log {\relax (x )} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*x**n))**3/x,x)

[Out]

Piecewise(((a**3*log(c*x**n) + 3*a**2*b*log(c*x**n)**2/2 + a*b**2*log(c*x**n)**3 + b**3*log(c*x**n)**4/4)/n, N
e(n, 0)), ((a**3 + 3*a**2*b*log(c) + 3*a*b**2*log(c)**2 + b**3*log(c)**3)*log(x), True))

________________________________________________________________________________________